import { Module } from '@nestjs/common';
import { RoleApiService } from './role-api.service';
import { RoleApiController } from './role-api.controller';
import { RoleApi } from '@/modules/system/role-api/entities/role-api.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ApiModule } from '@/modules/system/api/api.module';

@Module({
    imports: [TypeOrmModule.forFeature([RoleApi]),
        ApiModule,
    ],
    controllers: [RoleApiController],
    providers: [RoleApiService],
    exports: [RoleApiService, TypeOrmModule],
})
export class RoleApiModule {
}
